/* 表格数据源 */
export const rotaitionTable = (page,size,slideshowName)=>{
  if(!slideshowName){
    return axios({
      url:`/cms/slideshow/${page}/${size}`,
      method:'get'
    })
  }else{
    return axios({
      url:`/cms/slideshow/${page}/${size}?slideshowName=${slideshowName}`,
      method:'get'
    })
  }
}

/* 删除 */
export const delRotation = (slideshowId) => {
  return axios({
    url: `/cms/slideshow/${slideshowId}`,
    method: 'delete'
  })
}
